package com.ruoyi.inventory.service;

import java.util.List;
import com.ruoyi.inventory.domain.MaterialInventory;

/**
 * 物资库存Service接口
 * 
 * @author ruoyi
 * @date 2025-05-07
 */
public interface IMaterialInventoryService 
{
    /**
     * 查询物资库存
     * 
     * @param inventoryId 物资库存主键
     * @return 物资库存
     */
    public MaterialInventory selectMaterialInventoryByInventoryId(Long inventoryId);

    /**
     * 查询物资库存列表
     * 
     * @param materialInventory 物资库存
     * @return 物资库存集合
     */
    public List<MaterialInventory> selectMaterialInventoryList(MaterialInventory materialInventory);

    /**
     * 新增物资库存
     * 
     * @param materialInventory 物资库存
     * @return 结果
     */
    public int insertMaterialInventory(MaterialInventory materialInventory);

    /**
     * 修改物资库存
     * 
     * @param materialInventory 物资库存
     * @return 结果
     */
    public int updateMaterialInventory(MaterialInventory materialInventory);

    /**
     * 批量删除物资库存
     * 
     * @param inventoryIds 需要删除的物资库存主键集合
     * @return 结果
     */
    public int deleteMaterialInventoryByInventoryIds(Long[] inventoryIds);

    /**
     * 删除物资库存信息
     * 
     * @param inventoryId 物资库存主键
     * @return 结果
     */
    public int deleteMaterialInventoryByInventoryId(Long inventoryId);
}
